package cn.pegasus.teamwork.pegasus.service;

import java.util.Map;

import cn.iyizhan.teamwork.base.service.BaseService;
import cn.iyizhan.teamwork.base.util.PageObject;
import cn.pegasus.teamwork.pegasus.entity.BussNewsInfo;
import cn.pegasus.teamwork.pegasus.mapper.BussNewsInfoMapper;

/**
 * @author ryan.bian
 * @version 
 */
public interface BussNewsInfoService extends BaseService<BussNewsInfo,BussNewsInfoMapper>  {

	//分页查询
	public PageObject<BussNewsInfo> PageList(Map<String, Object> map);
	
	//新增
	public void addNews(Long userId,BussNewsInfo info);
	
	//修改
	public void updateNews(Long userId,BussNewsInfo info);
	
	//删除
	public void deleteNews(Long userId,Integer id);
	
	//查询详情
	public BussNewsInfo findNewsInfo(Integer id);
}
